package com.ssm.student.dao;

import com.ssm.student.eo.ExaminationPapersEoPage;
import com.ssm.student.model.ExaminationPapers;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/*
 * 操作数据库方法的对接
 * */
@Mapper
public interface ExaminationPapersMapper {
    //添加
    int insertExaminationPapers(ExaminationPapers examinationPapers);

    //获取数量
    int getTestpaperid(int testpaperid);

    //通过主键更新
    int updateExaminationPapers(ExaminationPapers examinationPapers);

    //通过主键删除
    int delExaminationPapers (Integer examinationpapersid);
    //根据条件获取相关信息
    List<ExaminationPapersEoPage> getWhereAll(ExaminationPapersEoPage examinationPapersEoPage);
}
